import { get, post, post_json } from '@/http/axios'
export default {
    namespaced: true,
    state: {
        // 栏目数据
        cashData: []

    },
    mutations: {
        SET_CASHDATA(state, payload) {
            state.cashData = payload
        }

    },
    actions: {
        //获取全部栏目的数据
        async getAllCashData({ commit }, payload) {
            let res = await get('/accountApply/pageQueryAccountApply', payload)
            commit('SET_CASHDATA', res.data.data.list)
        }



    }
}